import * as tslib_1 from "tslib";
import { action } from "mobx";
import request from "../utils/request";
import * as api from "../api/api";
import { LoadHoc, loading } from "../hoc/loadHoc";
let ComplainStore = class ComplainStore extends LoadHoc {
  /**
   * 保存举报信息
   */
  async pushComplain(params) {
    const { form, callBack } = params;
    await request(api.AppcomplainApiFetchParamCreactor.appcomplainPushComplainAsync({
      form
    }));
    callBack && callBack();
  }
};
export { ComplainStore as default };

tslib_1.__decorate([loading, action], ComplainStore.prototype, "pushComplain", null);